package com.qf.quduba.dao;

import com.qf.quduba.entity.Consume;
import com.qf.quduba.entity.Recharge;
import com.qf.quduba.entity.User;

import java.util.List;

/**
 * @author 17312
 * @time2020/10/1314:56
 */
public interface RechargeDAO {
    int addRecharge(Recharge recharge);
    int updateRecharge(String rechargeId);

    Recharge selectRecharge(String rechargeId);
    User selectUser(Integer userId);
    int updateUser(User user);
    List<Recharge> findUserRecharge(Integer userId);

    int deleteRecharge(String rechargeId);
}
